package net.borlis.sample.services.facade.ws.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by alexander.borlis on 21.07.2014.
 */
@XmlRootElement
public class GetHistoryResponseContainer {

    private Integer itemsCount;

    private List<GetHistoryResponse> items;

    public GetHistoryResponseContainer() {
    }

    @XmlElement(name = "itemsCount")
    public Integer getItemsCount() {
        return itemsCount;
    }

    public void setItemsCount(Integer itemsCount) {
        this.itemsCount = itemsCount;
    }

    @XmlElement(name = "items")
    public List<GetHistoryResponse> getItems() {
        return items;
    }

    public void setItems(List<GetHistoryResponse> items) {
        this.items = items;
    }
}
